<template>
  <!-- 我的预约 -->
  <view class="" hover-class="none" hover-stop-propagation="false">
    <view>
      <view class="nav">
        <view class="acea-row row-between goods-total">
          <text class="title">咨询时间</text>
          <text class="num">2023-02-01</text>
        </view>
        <view class="acea-row row-between goods-total">
          <text class="title">咨询药房</text>
          <text class="num">达嘉维康五一路门店</text>
        </view>
        <view class="acea-row row-between goods-total">
          <text class="title">药品名称</text>
          <view class="num" style="text-align: right">
            <view style="margin-bottom: 10rpx">安诗婷(北伐主单坑注射液)*5盒</view>
            <view>15mg*5片</view>
          </view>
        </view>
        <view class="acea-row row-between goods-total" style="flex-direction: column; line-height: 40rpx">
          <text class="title">咨询内容</text>
          <text class="num">最近一个月化验写小班轻微下降，如何处理？</text>
        </view>
        <view class="acea-row row-between goods-total" style="flex-direction: column; line-height: 40rpx">
          <text class="title">咨询沟通结果</text>
          <text class="num">
            目前无需停药，当血小板计数＜50×109/L 时，则遵医嘱停药做相应处理。患者应每两周检查血常规， 及时采取对症处理。
            预防血小板减少应调整饮食结构，多食营养食品，如鸡鸭鱼肉，避免外伤、出血和感染，出门
            戴口罩，勤洗手，饭后淡盐水漱口，预防牙龈发炎和感冒</text
          >
        </view>
        <view class="acea-row row-between goods-total agin"> 再次咨询 </view>
      </view>
    </view>
  </view>
</template>

<script>
import { list } from '@/api/demo'
import { test } from '@/api/user'

export default {
  data() {
    return {}
  },
  mounted() {},
  methods: {
    getDetail() {
      uni.showLoading({ title: '数据加载中...' })
    },
    getList(isRefresh) {
      uni.showLoading({ title: '数据加载中...' })
      list({
        ...this.pageOption
      })
        .then((res) => {
          this.mixinFormatRes(
            res,
            (v) => ({
              ...v,
              imgUrl: v.img // 主要是格式化列表字段，比如时间、图片链接、转换的统一处理
            }),
            isRefresh
          )
        })
        .finally(() => {
          uni.hideLoading()
          uni.stopPullDownRefresh()
        })
    }
  }
}
</script>

<style lang="scss" scoped>
.agin {
  justify-content: center !important;
  color: #3c9cff;
  font-size: 26rpx;
}
.nav {
  margin: 20rpx auto 40rpx auto;
  display: flex;
  flex-direction: column;
  padding: 35rpx;
  box-shadow: 0px 0px 4px 0px rgba(242, 117, 96, 0.1);
  border-radius: 20rpx;
  background-color: #fff;
  width: 690rpx;
  .goods-total {
    margin: 20upx 0;
    line-height: 25upx;
    display: flex;
    justify-content: space-between;
    .title {
      font-size: 26upx;
      color: #333333;
    }

    .num {
      font-size: 26upx;
      color: #999999;
    }
  }
}
</style>
